﻿using BonjourQuotation.UI.Models.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.CustomerModel
{
    public class ManageCustomersGridViewModel : UserAllPermissionsViewModel
    {
        public double TopScrollPossition { get; set; }
        public List<ManageCustomersGridRowViewModel> Rows { get; set; }
        [DisplayName("Organization:")]
        public string OrganizationNameText { get; set; }
        [DisplayName("Code:")]
        public string CustomerCodeText { get; set; }
        public List<SelectListItem> CitySearch { get; set; }
        [DisplayName("City:")]
        public string CitySearchText { get; set; }
        [DisplayName("Active:")]
        public List<SelectListItem> ActiveSearch { get; set; }
        public bool? IsActiveSearch { get; set; }
        public int PageNum { get; set; }
        public bool IsSearch { get; set; }
        public bool IsCanView { get; set; }
    }
    public class ManageCustomersGridRowViewModel
    {
        public int CustomerID { get; set; }
        public string OrganizationName { get; set; }
        public string CustomerCode { get; set; }
        public string City { get; set; }
        public bool IsActive { get; set; }
    }
}